package com.xdap.common.pojo.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class ApprovalDto implements Serializable {
    /**
     * 审批定义名称
     */
    @JSONField(name = "approval_name")
    private String approvalName;
    /**
     * 审批定义 code
     */
    @JSONField(name = "approval_code")
    private String approvalCode;
    /**
     * 审批定义所属审批分组
     */
    @JSONField(name = "group_code")
    private String groupCode;
    /**
     * 分组名称
     */
    @JSONField(name = "group_name")
    private String groupName;
    /**
     * 审批定义的说明
     */
    @JSONField(name = "description")
    private String description;
    /**
     * 三方审批相关
     */
    @JSONField(name = "external")
    private ApprovalCreateExternalDTO external;
    /**
     * 可见人列表
     */
    @JSONField(name = "viewers")
    private List<ApprovalCreateViewersDTO> viewers;
    /**
     *流程管理员id
     */
    @JSONField(name = "managers")
    private List<String> managers;
}
